package com.zelma.house.controller;

import java.util.Arrays;
import java.util.List;
import java.util.Map;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.zelma.house.entity.PropertyEntity;
import com.zelma.house.service.PropertyService;
import com.zelma.common.utils.PageUtils;
import com.zelma.common.utils.R;



/**
 * 
 *
 * @author zelma
 * @email 1239115389@qq.com
 * @date 2022-01-06 16:53:19
 */
@RestController
@RequestMapping("house/property")
public class PropertyController {

    @Autowired
    PropertyService propertyService;

    @GetMapping("/lostList")
    public List<PropertyEntity> hostList(){
        return propertyService.list();
    }

}
